package EveryDayPractice;

public class Practice27 {
     public static void main(String[] args) {
         int j=2;
         for (int i = 0; i < 100; i++) {
             for ( j = 2; j < i; j++) {
                 if(i%j==0)
                 {
                     break;
                 }
             }
             if(i==j)
             {System.out.println(i+"是素数");}
         }
     }
}
